package com.example.demo.mapper;

import com.example.demo.po.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderMapper {
    Order selectById(Long id);
    List<Order> selectByUserId(Long userId);
    List<Order> selectAll();
    int insert(Order order);
    int update(Order order);
    int deleteById(Long id);
} 